package com.dkm.ec.activity.persistence.entity;

import com.dkm.base.db.persistence.entity.AbstractPo;
import com.dkm.biz.ou.persistence.entity.ShopPo;
import com.dkm.ec.product.persistence.entity.ProductEntityPo;

import java.util.Date;
import java.util.List;

/**
 * 秒杀活动参与管理Entity
 * @author fjy
 * @version 2017-08-11
 */
public class SecKillActivityPartinPo  extends AbstractPo<String> {
	
	private static final long serialVersionUID = 1L;
	private String id; //id主键, 唯一
	private String activityid;		// 秒杀活动, 引sec_kill_activity_config 表id
	private String productid;		// 产品id，引t_prod_entity表主键
	//private Integer pronum;		// 参与活动的产品数量
	private String shopid;		// 参与店铺, 引t_ou_shop 表主键
	private Date partintime;		// 参与时间

	private List<SecSkillActivitySkuPo> skuPoList; // 商品sku信息

	private ProductEntityPo productEntityPo; // 产品
	private ShopPo shopPo; // 店铺
	
	public SecKillActivityPartinPo() {
		super();
	}

	public SecKillActivityPartinPo(String id){
		this.id = id;
	}

	public String getActivityid() {
		return activityid;
	}

	public void setActivityid(String activityid) {
		this.activityid = activityid;
	}

	public String getProductid() {
		return productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	public String getShopid() {
		return shopid;
	}

	public void setShopid(String shopid) {
		this.shopid = shopid;
	}
	
	public Date getPartintime() {
		return partintime;
	}

	public void setPartintime(Date partintime) {
		this.partintime = partintime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public ProductEntityPo getProductEntityPo() {
		return productEntityPo;
	}

	public void setProductEntityPo(ProductEntityPo productEntityPo) {
		this.productEntityPo = productEntityPo;
	}

	public ShopPo getShopPo() {
		return shopPo;
	}

	public void setShopPo(ShopPo shopPo) {
		this.shopPo = shopPo;
	}

	public List<SecSkillActivitySkuPo> getSkuPoList() {
		return skuPoList;
	}

	public void setSkuPoList(List<SecSkillActivitySkuPo> skuPoList) {
		this.skuPoList = skuPoList;
	}

}